use serde::{Serialize, Deserialize};


#[derive(Serialize,Deserialize,Debug,Clone)]
pub struct UserAttach{
    pub id:i32,
    pub user_id:i32,
    pub user_image:String,
    pub request_list: Vec<i32>,
    pub guide_recom:Vec<i32>,
    pub friend_recom:Vec<i32>,
}

#[derive(Serialize,Deserialize,Debug,Clone)]
pub struct CreateUserAttach{
    pub user_id:i32,
    pub request_list: Vec<i32>,
    pub guide_recom:Vec<i32>,
    pub friend_recom:Vec<i32>,
}
#[derive(Serialize,Deserialize,Debug,Clone)]
pub struct UpdateUserAttach{
    pub id:i32,
    pub request_list: Vec<i32>,
    pub guide_recom:Vec<i32>,
    pub friend_recom:Vec<i32>,
}
#[derive(Serialize,Deserialize,Debug,Clone)]
pub struct UpdateUserAttach2{
    pub id:i32,
    pub user_image:String,
    pub request_list: Vec<i32>,
    pub guide_recom:Vec<i32>,
    pub friend_recom:Vec<i32>,
}

#[derive(Serialize,Deserialize,Debug,Clone)]
pub struct DeleteUserAttach{
    pub id:i32
}